﻿using AutoMapperApp.Models;
using System.Diagnostics;

namespace AutoMapperApp.Repository
{
    public class DataRepository
    {

        public List<StudentModel> GetList()
        {
            return new List<StudentModel>() {
                new StudentModel(){
                    ID = 1,
                    Name="张三",
                    Password="123",
                    Age=10,
                    Gender="男"
                },
                new StudentModel(){
                    ID = 2,
                    Name="李四",
                    Password="456",
                    Age=11,
                    Gender="女"
                },
                new StudentModel(){
                    ID = 3,
                    Name="王五",
                    Password="789",
                    Age=12,
                    Gender="男"
                },
                new StudentModel(){
                    ID = 4,
                    Name="赵六",
                    Password="111213",
                    Age=13,
                    Gender="男"
                },
                new StudentModel(){
                    ID = 5,
                    Name="邹七",
                    Password="141516",
                    Age=14,
                    Gender="女"
                },
            };
        }
    }
}
